package mastermind.database;
import java.io.Serializable;

@SuppressWarnings("serial")
public class GameUserEntry implements Serializable {
	String firstName;
	String lastName;
	String userName;
	String password;
	String phoneNumber;
	
	GameUserEntry() {
		firstName = null;
		lastName = null;
		userName = null;
		password = null;
		phoneNumber = null;
	}

	/**
	 * Get first name
	 * @return the first name
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * set first name
	 * @param firstName first name
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * Get last name
	 * @return last name
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * set last name
	 * @param lastName last name
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * Get user name
	 * @return user name
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * set user name
	 * @param userName user name
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * Get password
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * set password
	 * @param password password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Get phone number
	 * @return phone number
	 */
	public String getPhoneNumber() {
		return phoneNumber;
	}

	/**
	 * set phone number
	 * @param phoneNumber phonenumber
	 */
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	/**
	 * set all fields 
	 * @param firstName first name
	 * @param lastName last name
	 * @param userName user name
	 * @param password password 
	 * @param phoneNumber phone number
	 */
	public void setAll(String firstName, String lastName, String userName, String password, String phoneNumber) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.userName = userName;
		this.password = password;
		this.phoneNumber = phoneNumber;
	}
}
